/* Material Icons字体 */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('./material-icons.woff2') format('woff2'),
         url('./material-icons.woff') format('woff');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* SVG图标样式 */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    vertical-align: middle;
}
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}
.dashboard {
    display: flex;
    min-height: 100vh;
}
/* 左侧栏样式 */
.sidebar {
    background: linear-gradient(135deg, #6f42c1 0%, #5a3092 100%);
    color: white;
    width: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.app-title {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.app-title .material-icons {
    margin-right: 10px;
    font-size: 32px;
}
.create-button {
    background-color: white;
    color: #5a3092;
    padding: 12px 24px;
    border-radius: 50px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.create-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.sidebar-section {
    margin-bottom: 40px;
}
.sidebar-title {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 15px;
}
.feature-list {
    list-style: none;
}
.feature-item {
    padding: 12px 15px;
    margin-bottom: 10px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.feature-item:hover, .feature-item.active {
    background-color: rgba(255,255,255,0.2);
}
.feature-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}
.feature-icon .material-icons {
    font-size: 20px;
    line-height: 40px;
}
.feature-radio {
    display: none;
}

/* 主内容区域样式 */
.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.page-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}
.search-box {
    background-color: white;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.search-box input {
    border: none;
    outline: none;
    width: 100%;
    padding: 5px;
    font-size: 14px;
}
.search-box .material-icons {
    color: #aaa;
    margin-right: 10px;
}

/* 统计卡片 */
.stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.stat-icon .material-icons {
    font-size: 20px;
    color: white;
}
.stat-info {
    flex: 1;
}
.stat-value {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 14px;
    color: #666;
}

/* 功能描述区域 */
.feature-description {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #6f42c1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 上传区域 */
.upload-area {
    background-color: white;
    border: 2px dashed #6f42c1;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.upload-area:hover {
    border-color: #5a3092;
    background-color: #f8f9fa;
}
.btn {
    background-color: #6f42c1;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn:hover {
    background-color: #5a3092;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}
.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.process-btn {
    background-color: #28a745;
}
.process-btn:hover {
    background-color: #218838;
}
.download-btn {
    background-color: #fd7e14;
}
.download-btn:hover {
    background-color: #e67210;
}

/* 两列上传区域 */
.two-column-upload {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}
.upload-column {
    flex: 1;
    background-color: white;
    border: 2px dashed #6f42c1;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.upload-column:hover {
    border-color: #5a3092;
    background-color: #f8f9fa;
}

/* 上传列拖放高亮样式 */
.upload-column.dragover {
    background-color: rgba(111, 66, 193, 0.15);
    border-color: #6f42c1;
    box-shadow: 0 0 10px rgba(111, 66, 193, 0.3);
    transition: all 0.3s;
}

/* 进度条样式 */
.progress-container {
    width: 100%;
    margin: 30px 0;
    display: none;
}
.progress-bar-container {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6f42c1 0%, #5a3092 100%);
    width: 0%;
    border-radius: 5px;
    transition: width 0.3s ease;
}
.progress-text {
    text-align: right;
    font-size: 14px;
    color: #6c757d;
}

/* 日志区域样式 */
.log-container {
    margin-top: 20px;
    width: 100%;
    border-radius: 10px;
    background-color: #f8f9fa;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.log-header {
    padding: 12px 15px;
    background: linear-gradient(90deg, #6f42c1 0%, #5a3092 100%);
    color: white;
    font-weight: bold;
}
.log-area {
    height: 200px;
    overflow-y: auto;
    padding: 15px;
    font-family: monospace;
    font-size: 13px;
    white-space: pre-wrap;
    word-wrap: break-word;
    background-color: #f8f9fa;
    color: #333;
}

/* 日志颜色 */
.log-info {
    color: #6f42c1;
}
.log-warn {
    color: #fd7e14;
}
.log-error {
    color: #dc3545;
}
.log-success {
    color: #28a745;
}

/* 模型选择器 */
.model-selector {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.model-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 10px;
    outline: none;
    transition: all 0.3s;
}
.model-select:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.2);
}

.loading, .error, .success {
    display: none;
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
}
.loading {
    font-style: italic;
    color: #6c757d;
    background-color: #f8f9fa;
}
.error {
    color: white;
    background-color: #dc3545;
    font-weight: bold;
}
.success {
    color: white;
    background-color: #28a745;
    font-weight: bold;
}

.actions {
    margin: 30px 0;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .dashboard {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        padding: 20px;
    }
    .main-content {
        padding: 20px;
    }
    .stats-container {
        flex-wrap: wrap;
    }
    .stat-card {
        flex: 1 1 calc(50% - 10px);
    }
    .search-box {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
    }
    .two-column-upload {
        flex-direction: column;
    }
    .stat-card {
        flex: 1 1 100%;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .search-box {
        width: 100%;
    }
}

/* 两级菜单样式 */
.category-item {
    padding: 12px 15px;
    margin-bottom: 10px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.category-item:hover, .category-item.active {
    background-color: rgba(255,255,255,0.25);
}
.category-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}
.category-toggle {
    transition: transform 0.3s;
}
.category-toggle.open {
    transform: rotate(90deg);
}
.submenu {
    list-style: none;
    margin-top: 8px;
    display: none;
}
.submenu.open {
    display: block;
}
.submenu-item {
    padding: 10px 15px 10px 40px;
    margin-top: 5px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.submenu-item:hover, .submenu-item.active {
    background-color: rgba(255,255,255,0.15);
}
.submenu-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    text-align: center;
    line-height: 30px;
    margin-right: 8px;
    vertical-align: middle;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}
.submenu-icon .material-icons {
    font-size: 14px;
    line-height: 30px;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #6f42c1;
    font-weight: bold;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #adb5bd;
}

/* 首页工作台样式 */
.dashboard-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

/* 我的任务卡片 */
.task-card {
    flex: 2;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    min-width: 300px;
}

.task-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.task-tab {
    padding: 8px 16px;
    cursor: pointer;
    position: relative;
    color: #6c757d;
}

.task-tab.active {
    color: #6f42c1;
    font-weight: bold;
}

.task-tab.active:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #6f42c1;
}

.task-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f44336;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    margin-left: 5px;
}

.task-list {
    list-style: none;
}

.task-item {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.task-item:last-child {
    border-bottom: none;
}

.task-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.task-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #6c757d;
}

.task-status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-pending {
    background-color: #ffecb3;
    color: #ff9800;
}

.status-passed {
    background-color: #d4edda;
    color: #28a745;
}

.status-rejected {
    background-color: #f8d7da;
    color: #dc3545;
}

/* 调整第一行卡片的布局 */
.workspace-row:first-child {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.workspace-row:first-child .workspace-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 我的任务卡片宽度为1/3 */
.workspace-row:first-child .my-tasks {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
}

/* 公告卡片 */
.workspace-row:first-child .announcements {
    flex: 1;
    min-width: 0;
}

/* 常用功能卡片 */
.workspace-row:first-child .common-features {
    flex: 1;
    min-width: 0;
}

/* 常用功能图标布局 */
.feature-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.feature-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(111, 66, 193, 0.05);
}

.feature-icon:hover {
    transform: translateY(-3px);
    background-color: rgba(111, 66, 193, 0.1);
}

.feature-icon i {
    font-size: 32px;
    color: #6f42c1;
    margin-bottom: 8px;
}

.feature-icon span {
    font-size: 13px;
    line-height: 1.2;
    color: #333;
}

/* 公告卡片 */
.announcement-card {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    min-width: 250px;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title .more-link {
    font-size: 14px;
    color: #6f42c1;
    text-decoration: none;
}

.announcement-list {
    list-style: none;
}

.announcement-item {
    padding: 10px 0;
    border-bottom: 1px dashed #e9ecef;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-title {
    color: #212529;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-meta {
    font-size: 12px;
    color: #6c757d;
}

/* 质量看板 */
.quality-dashboard {
    width: 100%;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.quality-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
}

.quality-stat-item {
    text-align: center;
    padding: 0 15px;
}

.quality-value {
    font-size: 36px;
    font-weight: bold;
    color: #6f42c1;
    margin-bottom: 8px;
}

.quality-label {
    font-size: 14px;
    color: #6c757d;
}

.progress-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.progress-title .progress-percent {
    color: #6c757d;
}

/* 常用功能区 */
.quick-functions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.function-item {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    text-align: center;
    padding: 20px 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s;
}

.function-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.function-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    background-color: rgba(111, 66, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.function-icon .material-icons {
    font-size: 28px;
    color: #6f42c1;
}

.function-name {
    font-size: 14px;
    color: #333;
}

/* 助手机器人 */
.assistant-bot {
    display: none !important;
}

.chat-window {
    display: none !important;
}

.chat-header {
    display: none;
}

.chat-messages {
    display: none;
}

.chat-input {
    display: none;
}

.assistant-tips {
    display: none;
}

.chat-button {
    display: none;
}

/* 个人任务统计卡片 */
.personal-tasks-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.personal-tasks-title {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.personal-tasks-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.personal-tasks-stat {
    flex: 1;
}

.personal-tasks-value {
    font-size: 28px;
    font-weight: bold;
    color: #6f42c1;
}

.personal-tasks-label {
    font-size: 13px;
    color: #6c757d;
    margin-top: 5px;
}

/* 团队任务统计卡片 */
.team-tasks-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-radius: 10px;
    padding: 20px;
}

.team-tasks-title {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.team-tasks-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.team-tasks-stat {
    flex: 1;
}

.team-tasks-value {
    font-size: 28px;
    font-weight: bold;
    color: #fd7e14;
}

.team-tasks-label {
    font-size: 13px;
    color: #6c757d;
    margin-top: 5px;
}

/* 敬请期待页面样式 */
.coming-soon-content {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 20px auto;
    max-width: 600px;
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    background: rgba(111, 66, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.coming-soon-icon .material-icons {
    font-size: 40px;
    color: #6f42c1;
}

.coming-soon-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.coming-soon-text {
    font-size: 16px;
    color: #6c757d;
    max-width: 400px;
    margin: 0 auto;
}

.feature-container {
    margin-top: 20px;
}

/* 功能流程样式 */
.feature-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.feature-arrow .material-icons {
    font-size: 28px;
    color: #6f42c1;
}

/* 调整功能图标样式 */
.feature-flow .feature-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    height: 120px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 15px 10px;
    border-radius: 8px;
    background-color: rgba(111, 66, 193, 0.05);
    justify-content: center;
}

.feature-flow .feature-icon:hover {
    transform: translateY(-3px);
    background-color: rgba(111, 66, 193, 0.1);
}

.feature-flow .feature-icon i {
    font-size: 40px;
    color: #6f42c1;
    margin-bottom: 12px;
}

.feature-flow .feature-icon span {
    font-size: 13px;
    line-height: 1.2;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* 流程描述文本 */
.feature-flow-description {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-top: 10px;
    padding: 8px;
    background-color: rgba(111, 66, 193, 0.03);
    border-radius: 4px;
}

/* 文档完整性检查功能样式 */
.doc-type-selector {
    margin: 20px 0;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.doc-type-selector p {
    margin-bottom: 10px;
    font-weight: bold;
}

/* 双列布局样式 */
.selector-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.selector-column {
    flex: 1;
}

.doc-check-result {
    margin: 20px 0;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.result-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.result-header h2 {
    font-size: 22px;
    color: #6f42c1;
    margin-bottom: 10px;
}

.result-sections h3, 
.result-tags h3, 
.result-summary h3 {
    font-size: 18px;
    color: #333;
    margin: 20px 0 15px;
    padding-left: 10px;
    border-left: 3px solid #6f42c1;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.section-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.section-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.section-status {
    margin-right: 15px;
}

.section-status .material-icons {
    font-size: 24px;
}

.section-status .material-icons[title="完整"] {
    color: #28a745;
}

.section-status .material-icons[title="不完整"] {
    color: #ffc107;
}

.section-status .material-icons[title="缺失"] {
    color: #dc3545;
}

.section-info {
    flex: 1;
}

.section-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.section-score {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.section-desc {
    font-size: 13px;
    color: #777;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.tag-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    position: relative;
}

.tag-item.related {
    background-color: #eee6f7;
    color: #6f42c1;
    font-weight: bold;
}

.tag-item i {
    margin-right: 6px;
    font-size: 18px;
}

.tag-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: #6f42c1;
    border-radius: 50%;
}

.result-summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.score {
    font-weight: bold;
    color: #6f42c1;
}

/* 图标颜色 */
.material-icons.check_circle {
    color: #28a745;
}

.material-icons.error_outline {
    color: #ffc107;
}

.material-icons.cancel {
    color: #dc3545;
}

.material-icons.help_outline {
    color: #6c757d;
}

/* 文档完整性检查结果样式 */
.doc-check-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.doc-check-report {
    flex: 2;
    max-height: 600px;
    overflow-y: auto;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.doc-check-report.full-width {
    flex: 1;
    max-width: 100%;
}

.doc-check-logs {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doc-check-logs h3 {
    margin-top: 0;
    padding: 10px;
    background-color: #f3f3f3;
    border-radius: 8px 8px 0 0;
}

.doc-check-logs .log-container {
    flex: 1;
    background-color: #1e1e1e;
    border-radius: 0 0 8px 8px;
    padding: 10px;
    overflow: hidden;
}

.doc-check-logs .log-area {
    height: 500px;
    overflow-y: auto;
    margin: 0;
    color: #ddd;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 12px;
    white-space: pre-wrap;
}

.log-info {
    color: #58a6ff;
}

.log-error {
    color: #f85149;
}

.log-warn {
    color: #e3b341;
}

.log-success {
    color: #3fb950;
}

.report-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.missing-row {
    background-color: #FFF0F0;
}

.related-row {
    background-color: #F2E9FB;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .doc-check-container {
        flex-direction: column;
    }
    
    .doc-check-logs .log-area {
        height: 300px;
    }
}

/* 文件名显示样式 */
#selected-filename {
    background-color: rgba(111, 66, 193, 0.1);
    border-left: 3px solid #6f42c1;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    margin-top: 15px;
    word-break: break-all;
    max-width: 100%;
}

/* 已选择文件时的样式 */
.file-selected {
    color: #6f42c1;
    font-weight: bold;
    background-color: rgba(111, 66, 193, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
} 